﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace lok3_map_builder
{
    public abstract class Sprite
    {
        public Vector2 Position = new Vector2(0, 0);
        protected Texture2D mSpriteTexture;

        public virtual void Load(GraphicsDevice gd, Texture2D texture)
        {
            mSpriteTexture = texture;
        }

        public virtual void Draw(SpriteBatch sb)
        {
            sb.Draw(mSpriteTexture, Position, Microsoft.Xna.Framework.Color.White);
        }
    }
}
